package com.lboyang.core.annotation;

import com.lboyang.core.spring.CustomScannerRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Description
 *      消费者包扫描路径，IOC容器创建的时候注入对象
 * @Date 2021/9/12 16:59
 * @author: A.iguodala
 */

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Import(CustomScannerRegistrar.class)
@Documented
public @interface NnziScan {

    /**
     * 包扫描路径
     * @return
     */
    String[] basePackage();
}
